package com.ecoolex.chinadutyfree.retailer.core.mapper;

import com.ecoolex.chinadutyfree.retailer.entity.DirectMailGoodsOrderShippedRecord;
import com.ecoolex.chinadutyfree.retailer.entity.DirectMailGoodsOrderShippedRecordExample;
import com.ecoolex.framework.common.annotation.Description;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface DirectMailGoodsOrderShippedRecordMapper {
    long countByExample(DirectMailGoodsOrderShippedRecordExample example);

    int deleteByExample(DirectMailGoodsOrderShippedRecordExample example);

    int deleteByPrimaryKey(Integer shippedRecordId);

    int insert(DirectMailGoodsOrderShippedRecord record);

    int insertSelective(@Param("record") DirectMailGoodsOrderShippedRecord record, @Param("selective") DirectMailGoodsOrderShippedRecord.Column ... selective);

    DirectMailGoodsOrderShippedRecord selectOneByExample(DirectMailGoodsOrderShippedRecordExample example);

    List<DirectMailGoodsOrderShippedRecord> selectByExample(DirectMailGoodsOrderShippedRecordExample example);

    DirectMailGoodsOrderShippedRecord selectByPrimaryKey(Integer shippedRecordId);

    DirectMailGoodsOrderShippedRecord selectByPrimaryKeyWithLogicalDelete(@Param("shippedRecordId") Integer shippedRecordId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") DirectMailGoodsOrderShippedRecord record, @Param("example") DirectMailGoodsOrderShippedRecordExample example, @Param("selective") DirectMailGoodsOrderShippedRecord.Column ... selective);

    int updateByExample(@Param("record") DirectMailGoodsOrderShippedRecord record, @Param("example") DirectMailGoodsOrderShippedRecordExample example);

    int updateByPrimaryKeySelective(@Param("record") DirectMailGoodsOrderShippedRecord record, @Param("selective") DirectMailGoodsOrderShippedRecord.Column ... selective);

    int updateByPrimaryKey(DirectMailGoodsOrderShippedRecord record);

    int batchInsert(@Param("list") List<DirectMailGoodsOrderShippedRecord> list);

    int batchInsertSelective(@Param("list") List<DirectMailGoodsOrderShippedRecord> list, @Param("selective") DirectMailGoodsOrderShippedRecord.Column ... selective);

    int logicalDeleteByExample(@Param("example") DirectMailGoodsOrderShippedRecordExample example);

    int logicalDeleteByPrimaryKey(Integer shippedRecordId);
}